package com.feicheng.service;


import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.feicheng.entity.OutboundHeader;
import com.feicheng.model.OutboundWithSale;
import com.feicheng.model.OutboundWithSaleWithWarehouse;
import org.apache.ibatis.annotations.Param;


/**
 * <p>
 *  服务类
 * </p>
 *
 * @author hao.zhang
 * @since 2022-07-04
 */

public interface IOutboundHeaderService extends IService<OutboundHeader> {
    /**
     * 出库详情头
     * @param wrapper
     * @author jing.zhou
     * @return
     */
    OutboundWithSale selectOutbound (Wrapper wrapper);
    /**
     * 出库条件分页
     * @param wrapper
     * @author wei.zhang
     * @return
     */
    Page<OutboundWithSaleWithWarehouse> getOutbound (
            Page<OutboundWithSaleWithWarehouse> page,
            @Param(Constants.WRAPPER) Wrapper wrapper);
}
